package com.lanou3g.k12.mapper;

import com.lanou3g.k12.entity.Orders;
import com.lanou3g.k12.vo.OrdersFind;
import org.apache.ibatis.annotations.Param;

import java.util.Date;

import org.apache.ibatis.annotations.Param;

import java.util.Date;
import java.util.List;

public interface OrdersMapper {
    List<Orders> find(OrdersFind ordersFind);

    Orders findById(Integer id);

    List<Orders> findByCid(@Param("cid") int cid);

    List<Orders> findByDate(@Param("format") String format, @Param("format1") String format1);

    List<Orders> SelectOrders();

    void updateExpire(long id);

    int orderInsert(Orders orders);

    List<Orders> findOrders(@Param("uid") Long uid, @Param("status") Integer status);

    List<Orders> findOrderss(Long uid);
}
